import MainBody from "./Main-body.js"
module.exports = function(){
	function MainPage(){
		$(function(){
			$.ajax({
				url: '../app/Main-body.html',
				type: 'GET',
				dataType: 'html',
				success:function(data){
					$('body').append(data);
					//$('.hidden').before("<script src='../js/Main-body.js'><script>");
					MainBody().MainBody();
				}
			});
		})
	}
	return {
		MainPage:MainPage
	}
}
